package net.lahuobao.mall.entity.admin;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: E卡返点订单关系
 * @author zhangdaihao
 * @date 2016-12-27 17:34:12
 * @version V1.0   
 *
 */
@Entity
@Table(name = "mall_ecard_rebate_order", schema = "lahuobao")
@DynamicUpdate(true)
@DynamicInsert(true)
@SuppressWarnings("serial")
public class MallEcardRebateOrderEntity implements java.io.Serializable {
	/**主键*/
	private java.lang.Integer id;
	/**订单id*/
	private java.lang.Integer orderid;
	/**e卡返点id*/
	private java.lang.Integer ecardrebateid;
	
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  主键
	 */
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name ="ID",nullable=false,precision=10,scale=0)
	public java.lang.Integer getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  主键
	 */
	public void setId(java.lang.Integer id){
		this.id = id;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  订单id
	 */
	@Column(name ="ORDERID",nullable=false,precision=10,scale=0)
	public java.lang.Integer getOrderid(){
		return this.orderid;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  订单id
	 */
	public void setOrderid(java.lang.Integer orderid){
		this.orderid = orderid;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  e卡返点id
	 */
	@Column(name ="ECARDREBATEID",nullable=false,precision=10,scale=0)
	public java.lang.Integer getEcardrebateid(){
		return this.ecardrebateid;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  e卡返点id
	 */
	public void setEcardrebateid(java.lang.Integer ecardrebateid){
		this.ecardrebateid = ecardrebateid;
	}
}
